package com.seqb.manage.paper.service;

import com.github.pagehelper.Page;
import com.seqb.manage.paper.domain.PaperDO;
import org.springframework.ui.Model;

import java.util.Map;

/**
 * @author lilinshen
 * @title 试卷表
 * @description 请填写相关描述
 * @date 2019-12-04
 */
public interface PaperService {

    PaperDO get(Long id);

    Page<PaperDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(PaperDO paper);

    int update(PaperDO paper);

    int remove(Long id);

    int batchRemove(Long[] ids);

    String getPaperQuestion(Long id, Model model);
}
